package com.tianya.service;

import com.tianya.domain.dto.LeaveRequestDTO;
import com.tianya.domain.entity.Leave;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianya.domain.vo.LeaveVO;
import com.tianya.domain.vo.PageResultVO;

/**
* @author 86191
* @description 针对表【leave(请假表)】的数据库操作Service
* @createDate 2025-05-24 18:59:43
*/
public interface LeaveService extends IService<Leave> {

    void createLeave(LeaveRequestDTO leaveRequestDTO);

    PageResultVO<LeaveVO> pageLeave(Integer pageNum, Integer pageSize, LeaveRequestDTO leaveRequestDTO);
}
